#define _CRT_SECURE_NO_WARNINGS 1
#include "myArray.h"
int main()
{
	/*myArray<int> arr(4);
	arr.push_back(1);
	arr.push_back(2);
	arr.push_back(3);
	arr.push_back(4);
	arr.push_back(5);
	arr.printArray();*/
	myArray<Person> p(4);
	p.push_back({ "zhangsan",20 });
	p.push_back({ "lisi",19 });
	p.push_back({ "wangwu",18 });
	p.printArray();
	return 0;
}